package com.lzh.persevere.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzh.persevere.model.entity.LikeArticleInfo;

/**
 * 点赞文章信息表数据库访问层
 *
 * @author luzhiheng
 * @since 2025-07-22
 */
public interface LikeArticleInfoMapper extends BaseMapper<LikeArticleInfo> {

    /**
     * 根据文章id和用户id查询点赞文章信息
     *
     * @param articleId 文章id
     * @param userId    用户id
     * @return 点赞文章信息
     */
    LikeArticleInfo selectByArticleIdAndUserId(Long articleId, Long userId);
}

